package com.itheima.service;

import com.itheima.pojo.Role;

import java.util.List;

public interface RoleService {
    void add(Role role,Integer[] permissionIds, Integer[] userIds, Integer[] menuIds);

    List<Role> findAll();


    void delete(Integer id);

    Role findById(Integer id);

    void update(Role role, Integer[] permissionIds, Integer[] userIds, Integer... menuIds);
}
